package com.iiot.test;

/**
 * @author dzm
 * @create 2018-06-21-9:25
 */
public class Variate {
    // 多线程终止条件
    public static boolean operationFlage = true;
    // 所有线程结束条件
    public static int stopCondition = 0;

    public static void changeOperFlag(){
        operationFlage = false;
    }

    public static void addCondition(){
        stopCondition = stopCondition + 1;
    }

}
